package io.renren.modules.study.dao;

import io.renren.modules.study.entity.CoursePlanEntity;
import io.renren.modules.study.entity.CoursePlanScheduleEntity;

import java.util.List;
import java.util.Map;

public interface CoursePlanDao {
    void createCoursePlan(Map map);

    void delCoursePlan(Map map);

    void updateCoursePlan(Map map);

    List getCoursePlan(Map map);

    void makeCourseInCoursePlan(Map map);

    List getCourseInMyPlan(Map map);

    CoursePlanScheduleEntity checkCourseInMyPlan(Map map);

    void delCourseInMyCoursePlan(Map map);

    List getCourseNotInMyPlan(Map map);

    List getCourseIdNotInMyPlan(Long userId);

    void updateTime(Map map);

    int getCourseCountInMyPlan(Map map);
}
